fix(query): 对齐 coverage 与实时 freshness - #97
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mainline Intent
Intent:
int_d1a680ccStatus:
proposedTitle: 对齐查询 coverage 与实时 freshness
What changed
find CLI 使用同一次 raw source freshness 评估生成 coverage 与 nextAction;fresh 才声明 complete,Codex 活跃尾部的非空结果保持可查询但明确 stale/incomplete,零结果提示同步。纯 SQLite facade 未检查 raw 时返回 complete=false/not_checked,并保留 coveringSelectors。status 与 find 共用 coverage-freshness 模块;同步更新 JSON contract、正式 skill 和 0.3.19 版本。
Why
0.3.18 的 find JSON 可能同时返回 complete=true/freshness=not_checked 与 stale_or_missing_coverage,给调用方互相矛盾的完整性信号。完整性、freshness 和下一步动作必须来自同一 source snapshot,同时不能把 soft stale 的可查询索引说成不可用。
Decisions
Subsystems: docs, package-lock.json, package.json, skill-packages, src